package com.cai.service;

import com.cai.entity.PageResult;
import com.cai.entity.QueryPageBean;
import com.cai.pojo.Address;

import java.util.List;
import java.util.Map;

public interface AddressService {
    //分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    void add(Address address);

    void delete(Integer id);
    List<Address> findAll();
}
